<?php


namespace App\Service\Bank;

/**
 * Interface BankInterface
 * 银行接口
 *
 * @package App\Service\Bank
 */
interface IBankInterface {

    /**
     * 支付
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doPay ($params, $channel, $bank);

    /**
     * 退款
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doRefund ($params, $channel, $bank);

    /**
     * 转帐
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doTransfer ($params, $channel, $bank);

    /**
     * 支付订单查询
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doOrderQuery ($params, $channel, $bank);

    /**
     * 退款订单查询
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doRefundQuery ($params, $channel, $bank);

    /**
     * 转账订单查询
     *
     * @param $params
     * @param $channel
     * @param $bank
     *
     * @return mixed
     */
    public function doTransferQuery ($params, $channel, $bank);

}
